Init
@Serializable
This class hold the properties of values to be used when initialzing a map
Constructors
Link copied to clipboard
constructor( clientId: String = "", clientSecret: String = "", venue: String = "", perspective: String? = "Website", baseUrl: String = "", noAuth: Boolean = false, firstMapId: String? = null, headers: List<MPIHeader>? = null, useBundle: Boolean? = false, emitAnalyticsEvents: Boolean? = true, useDraftData: Boolean? = false, language: String? = null, things: Map<MPIOptions.THING_KEY, List<String>> = emptyMap())
Properties
Link copied to clipboard
Client secret provided to you by Mappedin to access our API- Note: Contact your Mappedin representative if you do not have one.
Link copied to clipboard
Whether analytics events should be sent.
Link copied to clipboard
Set the first map with first map id when showing the venue
Link copied to clipboard
Perspective of the venue
Link copied to clipboard
An object specifying additional properties to fetch for each data item. Each key represents a data item (e.g., 'locations', 'nodes'), and the value is an array of strings indicating extra properties to be included. Refer to MPIOptions.THING_KEY for a list of keys.
Link copied to clipboard
Whether a draft map should be loaded. Default is false.